← Back to issue list

"upload" command sends progress to stdErr unnecessarily

View original Launchpad issue

Metadata

Project
snapcraft (launchpad)
Number
#1995159
Type
issue
State
open
Author
~knocte
Labels
Created
2022-10-29 05:16:23.190471+00:00
Updated
2022-10-29 05:16:23.190471+00:00
Closed

Current evaluation

No evaluation has been recorded for this issue yet.

Issue body

When integrating a release process within a Continuous Integration (CI) automation routine, it's useful to get some deprecation/warnings messages in the stdErr when invoking "snapcraft upload". For example this: https://snapcraft.io/docs/deprecation-notices/dn11 However, other messages that are not warnings or errors are also sent to stdErr (instead of just stdOut), which forces me to have to ignore them in the process that uploads a release under my CI setup. Examples of these kind of messages: Pushing 'gwallet_0.3.332.0_amd64.snap' [=== ] 12% Processing...- Having them being sent to stdOut instead of stdErr would allow me to fail CI whenever any important message gets sent to stdErr; allowing me to pay attention to deprecation notices or other important stuff happens.

Evaluation history

No evaluation history available.